/**
 *
 */
package com.ndp.fb.model.fbagent.result.stats;

import com.ndp.fb.model.fbagent.result.AbstractFacebookResult;
import com.restfb.Facebook;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Job状态
 */
@Setter
@Getter
@NoArgsConstructor
public class InsightJobStatus extends AbstractFacebookResult {
    @Facebook("id")
    private String id;

    @Facebook("account_id")
    private String accountId;

    @Facebook("time_ref")
    private Long timeRef;

    @Facebook("time_completed")
    private Long timeCompleted;

    @Facebook("async_status")
    private String asyncStatus;

    @Facebook("async_percent_completion")
    private Integer asyncPercentCompletion;

    @Facebook("is_running")
    private Boolean isRunning;


    public void setIsRunning(Boolean running) {
        isRunning = running;
    }
    public void setRunning(Boolean running) {
        isRunning = running;
    }
}
